package com.songshuai.webapi.permission.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value="角色修改实体")
public class RoleEnabledDto {

    @NotNull(message = "角色ID不能为空")
    @ApiModelProperty(value="角色ID",required = true)
    private Integer roleId;

    @NotNull(message = "角色是否启用标识不能为空")
    @ApiModelProperty(value="角色是否启用标识",required = true)
    private byte enabled;




}